public class Test {

    public static void main(String[] args) {
        Integer a = 100;
        Integer b = 100;
        System.out.println(a==b);
        System.out.println("///////////////////////////");
        Integer c = 200;
        Integer d = 200;
        System.out.println(c==d);



    }



    public static void main1(String[] args) {
        Integer i = Integer.valueOf(10);//手动装箱
        int b = 2;
        Integer a = b;//自动装箱
        System.out.println(i);
        System.out.println(a);

        Integer c = Integer.valueOf(2);
        int d = c;//自动拆箱
        int e = c.intValue();//手动拆箱



    }
}
